import { http } from './../utils'
const addStaff = params => http.post('/api/staff/add', params)
const getStaffList = params => http.get('/api/staff/list',params)
const staffdelAll = params => http.post('/api/staff/deleteall',params)
const staffdel = params => http.get('/api/staff/delete',params)

const stafftype = params => http.get('/api/stafftype/list',params)

export default {
    getStaffList,
    staffdel,
    staffdelAll,
    stafftype,
    addStaff,

}